<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="/WEB-INF/tld/c-1_0-rt.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fmt-1_0-rt.tld" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>显示文章列表</title>
</head>

<body>
文章内容${obj}
<div>
	<ul>
    	<li><a href="showArticleInfo.shtml?id=${obj.id}"><c:out value="${obj.title}" /></a>　　发布者：${obj.addUser.name}　　(<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${obj.addDate}" />)</li>
       <c:forEach var="ai" items="${obj.attachments}">
        	<li><a href="${base}/upload/getArticleatts.shtml?id=${ai.id}&t=1&file=${ai.newname}">${ai.newname}</a>　　${ai.newname}　　${ai.oldname}</li>
        </c:forEach>
    </ul>
</div>
</body>
</html>